package com.kunlong.web;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Configuration;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

import java.util.TimeZone;

@Configuration
@SpringBootApplication(scanBasePackages = {"com.kunlong"})
@EnableSwagger2
public class CodegenWeb {

    public static void main(String[] args) {

        System.setProperty("mail.mime.splitlongparameters", "false");
        TimeZone timeZone = TimeZone.getTimeZone("GMT+8");
        TimeZone.setDefault(timeZone);

        SpringApplication.run(new Class[]{CodegenWeb.class}, args);
        System.out.println("starting codegen-web...");

    }
}
